package com.copractice.data.entity;

import java.io.Serializable;

/**
 * Base interface for all entities
 *
 * @author Dmitry Churbanov (dmitry.churbanov@gmail.com)
 * @version 1.0 03/13/2009
 */
public interface Persistable<T extends Serializable> {

    /**
     * Gets entity identity by which this entity can be uniquely identified 
     *
     * @return entity unique identity
     */
    T getId();

}